package com.chixing.day03_oop;

public class PersonTest {
    public static void main(String[] args) {
        Person person1 = new Person("小郑",24,"男",true);
        Person person2 = new Person("小谢",25,"女",true);
        System.out.println(person1.ifCanMarry(person2));
    }
}
